﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Web;

namespace UncleBobWebService.Models
{

    [DataContract]
    public class HMRegisterModel
    {

        [DataMember]
        public int ID { get; set; }

        [DataMember]
        public string Username { get; set; }
        
        //[DataMember]
        //public string Password { get; set; }

        [DataMember]
        public string FirstName { get; set; }

        [DataMember]
        public string MI { get; set; }

        [DataMember]
        public string LastName { get; set; }

        [DataMember]
        public string Address { get; set; }

        [DataMember]
        public string PhoneNumber { get; set; }

        [DataMember]
        public bool Status { get; set; }

        [DataMember]
        public string UserID { get; set; }

        [DataMember]
        public string ViewedStatus { get; set; } 

        [DataMember]
        public List<HMRegisterModel> apps { get; set; }

        [DataMember]
        public List<JobApplication> jobApps { get; set; }

        [DataMember]
        public List<UserJobQuestions> questions { get; set; }


        [DataMember]
        public HMRegisterModel SelectedDetail { get; set; }

        [DataMember]
        public RegisterModel RegModel { get; set; }

        public HMRegisterModel()
        {   
            jobApps = new List<JobApplication>();
            questions = new List<UserJobQuestions>();         
            RegModel = new RegisterModel();
        }             
    }
}